package demo01;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/10/31 14:50
 */
public class MyThread extends Thread{

    public MyThread(String name){
        super(name);
    }

    public MyThread() {

    }

    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName()+"===="+i);
        }
    }
}
